
<!DOCTYPE html>
<html lang="CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>index</title>
    <style>
            html,body{
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
        }
        .container{
            max-width: 99%;
            position: relative;
            margin: 0 auto;
            text-align: center;
            height: 100vh;
            overflow: hidden;
        }
        .bg{
            position: relative;
            margin: auto;
            width: fit-content;
            overflow: hidden;
        }
        .bgimg{
            max-width: 100%;
            max-height: 100%;
            height: 100vh;
        }

        @font-face {
    font-family: "youranxiaokai";
    src: url("./image/youranxiaokai.ttf");
}



        
        @keyframes fadeIn {
            to {
                opacity: 1; 
            }
        }

        .image {
            position: absolute;
            top: 50%;
            width: 500px;
            height: 500px;
            transition: all 0.5s;
            animation-duration:4s;
            animation-timing-function: ease;
            animation-fill-mode: forwards;
        }

        .left-image {
            top:400px ;
            right: calc(43%);
            animation-name: moveLeft;
        }

        .right-image {
            top: 0px;
            left: calc(43%);
            animation-name: moveRight;
        }

        @keyframes moveLeft {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-300px);
            }
        }

        @keyframes moveRight {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(300px);
            }
        }
        .centerImage{
            width: 300px;
            height: 900px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            opacity: 0;
            animation: fadeIn 3s forwards; 
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="bg">
        <img class="bgimg" src="image\yrybj.png">
        <img src="image/left-image.png" alt="Left Image" class="image left-image">
        <img src="image/right-image.png" alt="Right Image" class="image right-image">
        <img class="centerImage" src="image\ziti.png" alt="Center Image">
    </div>
    <script>
     window.onload = function() {
        setTimeout(function() {
            window.location.href = 'juanzhou.html'
        }, 5000); 
    };
        setTimeout(function() {
            document.querySelector('.left-image').style.animationPlayState = 'running';
            document.querySelector('.right-image').style.animationPlayState = 'running';
        }, 2000);
    </script>
</body>
</html>
